home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
shell
/
axsh_1_3_demo.lha
/
InstallDisk.lha
/
man
/
xpr.man
< prev
Wrap
Text File
|
1993-03-15
|
3KB
|
116 lines
XPR USER COMMANDS 20-May-1992
NAME
XPR - Use Amiga external protocols for upload and download
SYNOPSIS
XPR send protocol filename [file2 ..]
XPR receive protocol [filename]
XPR list
DESCRIPTION
XPR uses the normal Amiga external protocol libraries to do
the file transfer. XPR might not work without a special
serial handler, because it needs a real raw mode for
communication. e.g. original AUX: in ks1.3 will eat NULs
and do LF to LFCR translations even if in RAW mode. So, you
just better use it with AXAUX: only..
Different types of options for different kinds of protocols
are supported by an external configuration file
AXsh:etc/xprotos.tab. This file contains protocol names and
corresponding library names and option settings for that
entry. Several protocols may use the same library with
different option settings.
An example entry in a xprotos.tab file:
a) "zmodem"
b) Library: xprzmodem.library
c) Descrip: Binary/No overwrite/No delete/No paths
d) Options: TN ON B16 F0 E10 AN DN KY SN RN PAXsh:spool/upload
a) is the protocol name, the 'handle'
b) is the library to use for the protocol
c) is the (optional) description of the protocol to display
before the transfer
d) is the option settings for the protocol
All other entries must follow a). c) must always become
before either b) or d) to be detected. The spelling of the
keywords is case-sensitive.
OPTIONS
XPR send protocol filename
This command will send a/the specified file/-s using
the defined protocol. An error message will be
printed if there is not an appropriate entry in the
tab-file.
XPR receive protocol filename
This will receive one or more files using the
defined protocol. A missing entry in the tab file
will generate an error. If you want to upload more
than one file, the protocol must support batch
transfers and the filename is left out of the
command.
XPR list
This will list the available protocols.
BEWARE!
XPR receive is a security risk. It is not wise to allow
overwrite AND uploading to any directory. If the
library/protocol does not provide a way to disable
overwrite, you must restrict either the upload pathname or
the use of the command.
An example of an unsafe protocol is xmodem. It does not
check (or provide any options to disable) overwrite and it
does not provide any option to change the upload directory.
However, if the protocol allows you to specify an upload
directory, you can use an empty directory specification. If
the options string ends up with a "P" (upper case p), XPR
will append the home directory of the user to the string,
and the upload will go to the home directory.
EXAMPLE
> XPR s zmodem file1 file2
Will send first file1 and then file2 using the "zmodem"
entry in the AXsh:etc/xprotos.tab.
> xpr l
XPR Version 1.0 17-May-92
Available protocols:
"zmodem"
Binary/No overwrite/No delete/No paths
"zmodem-window8k"
Binary/No overwrite/8k window/No delete/No paths
"ymodem"
Batch/Chop/CRC16/1K blocks
"ymodem-g"
Batch/Chop/CRC16/1K blocks/No Acks or retries on errors
"ymodem-a"
Batch/Chop/2K blocks/No CRC checking or Acks or retries
FILES
AXsh:bin/XPR The program
AXsh:etc/xprotos.tab The settings for protocols
AXsh:etc/adm/xpr.log A log file
SEE ALSO
ffe